Boolean value (True or False).
IsTime returns True if the given String or Number value can be converted to a valid Time and returns False otherwise.
If you want to convert a String value to a Time using the functions CTime or TimeValue, use the IsTime function first to check if the conversion will succeed. See the examples section of IsDate for an example of this type.
The following examples are applicable to both Basic and Crystal syntax:
Returns True since the given String argument is interpreted as 12:00:00 am.
Also returns True since the given Number argument is interpreted as 3.2 units of 24 hours, which is 4:48:00am.
This function is similar to the Visual Basic function IsDate, except that it works specifically with Crystal Report's Time type which holds Time values only.
Seagate Software IMG Holdings, Inc. http://www.seagatesoftware.com Support services: http://support.seagatesoftware.com |